package com.haiqiu.tools.captcha.entity;

import java.awt.image.BufferedImage;
import java.io.Serializable;

/**
 * @author HaiQiu
 * @since 2023/1/29
 */
public class Captcha implements Serializable {

    /**
     * 验证码图片
     */
    private BufferedImage bufferedImage;

    /**
     * 验证码唯一验证ID标识
     */
    private String uuid;

    /**
     * 验证码生成字符
     */
    private String code;

    /**
     * 验证码图片base64
     */
    private String base64;


    public BufferedImage getBufferedImage() {
        return bufferedImage;
    }

    public void setBufferedImage(BufferedImage bufferedImage) {
        this.bufferedImage = bufferedImage;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBase64() {
        return base64;
    }

    public void setBase64(String base64) {
        this.base64 = base64;
    }
}
